{% load static %}

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Platform for simple terminal in webbrowser">
    <meta name="author" content="Krzysztof Stefański; Mateusz Setkowicz">
    <title>Web Terminal</title>
    <link rel="icon" type="image/x-icon" href="{% static 'images/favicon.ico' %}">

    
    {% load django_bootstrap5 %}
    {% bootstrap_css %}
    {% bootstrap_javascript %}

    <link rel="stylesheet" href="{% static 'css/base.css' %}">

    {% if enable_pass %}
    <link rel="stylesheet" href="{% static 'css/subpage.css' %}">
    <script  src="{% static 'js/events.js' %}"></script>

    <script type="text/javascript">
        var UserobjectPk = {{ user_object.pk }};
        var UserobjectName = '{{ user_object.name }}';
        var objectPk = {{ object.pk }};

        emitElementForSessionEvent('create', UserobjectPk, UserobjectName, '{{user_object.color}}')
    </script>
    {% endif %}

    {% block meta_tags %}{% endblock %}

</head>
<body id="page-top">

    <div id="message" style="z-index: 100">
        <div id="p-3 fw-4 text-center messge-animmation">
            {% bootstrap_messages %}
        </div>
    </div>

    {% block content %}{% endblock %}
    <div id="copyright" style="font-size: 70%" class=" text-center disable_selection position-fixed bottom-0 end-0 mx-4 mb-3 opacity-25">
        <b>Web Terminal</b><br />2024 © Setkowicz, Stefanski
    </div>
</body>
</html>